home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / graphics / view.h < prev   
C/C++ Source or Header  |  1988-07-15  |  991b  |  56 lines

  1. #ifndef    GRAPHICS_VIEW_H
  2. #define    GRAPHICS_VIEW_H
  3. #ifndef    GRAPHICS_GFX_H
  4. #include    <graphics/gfx.h>
  5. #endif
  6. #ifndef    GRAPHICS_COPPER_H
  7. #include    <graphics/copper.h>
  8. #endif
  9. struct    ColorMap
  10. {
  11. UBYTE    Flags;
  12. UBYTE    Type;
  13. UWORD    Count;
  14. APTR    ColorTable;
  15. };
  16. struct    ViewPort
  17. {
  18. struct    ViewPort    *Next;
  19. struct    ColorMap    *ColorMap;
  20. struct    CopList    *DspIns;
  21. struct    CopList    *SprIns;
  22. struct    CopList    *ClrIns;
  23. struct    UCopList    *UCopIns;
  24. SHORT    DWidth,DHeight;
  25. SHORT    DxOffset,DyOffset;
  26. UWORD    Modes;
  27. UBYTE    SpritePriorities;
  28. UBYTE    reserved;
  29. struct    RasInfo    *RasInfo;
  30. };
  31. struct    View
  32. {
  33. struct    ViewPort    *ViewPort;
  34. struct    cprlist    *LOFCprList;
  35. struct    cprlist    *SHFCprList;
  36. short    DyOffset,DxOffset;
  37. UWORD    Modes;
  38. };
  39. #define    PFBA    0x40
  40. #define    DUALPF    0x400
  41. #define    HIRES    0x8000
  42. #define    LACE    4
  43. #define    HAM    0x800
  44. #define    SPRITES    0x4000
  45. #define    VP_HIDE    0x2000
  46. #define    GENLOCK_AUDIO    0x100
  47. #define    GENLOCK_VIDEO    2
  48. #define    EXTRA_HALFBRITE    0x80
  49. struct    RasInfo
  50. {
  51. struct    RasInfo    *Next;
  52. struct    BitMap    *BitMap;
  53. SHORT    RxOffset,RyOffset;
  54. };
  55. #endif
  56.